<template>
  <div>
    <ul class="complete">
      <li>
        <label for="">账号:</label>
        <span>{{ accountInfo.username }}</span>
      </li>
      <li>
        <label for="">密码:</label>
        <span>{{ accountInfo.password }}</span>
      </li>
    </ul>
    <ul class="label clearfix">
      <li>支持随时退</li>
      <li>客服微信号: nihaobanlv</li>
    </ul>
  </div>
</template>
<script scoped>
  import _ from 'lodash'
  import Cookies from 'js-cookie'
  export default {
    data () {
      return {
        accountInfo: {
          username: '',
          password: ''
        }
      }
    },
    created () {
      const randomKey = this.$route.params.randomKey
      this.accountInfo = _.assign({}, this.accountInfo, Cookies.getJSON(randomKey))
      setTimeout(() => {
        window.alert('帐号不能多端登录和分享他人使用, 否则不会解决您的问题, 如需验证码登录, 可进订单详情里获取!')
      }, 1000)
    }
  }
</script>
